(function($) {

    $(document).ready(function() {
        alert('asdf');      
        $("#submit").click(function() {
            //$.post( "localhost/yellowpage/yp_search/2/3");
            window.location = "http://localhost/yellowpage/yp_search/2/3";
        });

    });

})(jQuery);